package com.zj.base.permission.interfaces;

import com.zj.base.permission.ConfigurationModules;

import java.util.List;

/**
 * Created by zhaojie on 2018/5/29.
 */

public interface OnPermissionCheckListener {

    void startCheck(ConfigurationModules modules);

    void result(ConfigurationModules modules, State state);

    void onSuccess(List<ConfigurationModules> modulesList);

    enum State {
        SUCCESS, FAIL, FAIL_NOT_FORCE
    }
}
